package com.vip.sys.modular.department.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vip.sys.modular.department.entity.Department;
import com.vip.sys.modular.department.params.AddDepartmentParams;
import com.vip.sys.modular.department.vo.DepartmentVo;

import java.util.List;

/**
 * @author ASUS
 * @Date 2025/4/8 11:11
 * @Descripition
 */
public interface DepartmentService extends IService<Department> {
    /**
     *  新增部门
     */
    boolean add(AddDepartmentParams addDepartmentParams);

    /**
     *  部门树形结构
     */

    List<DepartmentVo> tree();
}
